package com.principle.strategy.improve;

public class PekingDuck extends Duck {
    public PekingDuck() {
        flyBehavior=new NoFlyBehavior();
        quackBehavior=new GeGeQuackBehavior();
    }

    @Override
    void display() {
        System.out.println("这是北京鸭");
    }

}
